<template>
	<view class="succeed">
		<view class="succeed_head">
			<image src="/static/icon1.png" mode=""></image>
			<text>支付成功</text>
			<text>请进入程序</text>
		</view>
		<view class="succeed_footer">
			<button hover-class="hover-view" @click="returnHome">确定</button>
		</view>
	</view>
</template>

<script>
	// #ifdef H5
	import wx from '@/common/uni.webview.1.5.2.js'
	// #endif
	
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			//返回首页
			returnHome () {
				uni.switchTab({
					url: '/pages/home/index'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.succeed {
		background-color: #fff;
		min-height: 100vh;
		color: #3c3c3c;
	}
.succeed_head {
	display: flex;
	padding-top: 200rpx;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	image {
		width: 176rpx;
		height: 176rpx;
	}
	text {
		color: #3c3c3c;
		&:nth-child(2) {
			margin: 35rpx 0 45rpx 0;
			color: #3c3c3c;
			font-size: 48rpx;
		}
		&:last-child {
			color: #3c3c3c;
			font-size: 24rpx;
		}
	}
}
.succeed_footer {
	padding: 0 70rpx;
	margin-top: 130rpx;
	button {
		height: 88rpx;
		color: #FFFFFF;
		font-size: 32rpx;
		background: #e66633;
		border-radius: 44rpx;
	}
}
</style>
